# -*- mode: cmake -*-

set ( SRCS 
RESONANCES/AliRsnDaughter.cxx
RESONANCES/AliRsnMother.cxx
RESONANCES/AliRsnEvent.cxx
RESONANCES/AliRsnDaughterDef.cxx
RESONANCES/AliRsnPairDef.cxx
RESONANCES/AliRsnTarget.cxx
RESONANCES/AliRsnValue.cxx
RESONANCES/AliRsnCut.cxx
RESONANCES/AliRsnValueDaughter.cxx
RESONANCES/AliRsnValuePair.cxx
RESONANCES/AliRsnValueEvent.cxx
RESONANCES/AliRsnCutPrimaryVertex.cxx
RESONANCES/AliRsnCutTrackQuality.cxx
RESONANCES/AliRsnCutValue.cxx
RESONANCES/AliRsnCutPID.cxx
RESONANCES/AliRsnCutPIDITS.cxx
RESONANCES/AliRsnCutPIDTPC.cxx
RESONANCES/AliRsnCutPIDTOF.cxx
RESONANCES/AliRsnCutPIDNSigma.cxx
RESONANCES/AliRsnCutMomentumComparison.cxx
RESONANCES/AliRsnCutKaonForPhi2010.cxx
RESONANCES/AliRsnCutSet.cxx
RESONANCES/AliRsnExpression.cxx
RESONANCES/AliRsnVariableExpression.cxx
RESONANCES/AliRsnCutManager.cxx
RESONANCES/AliRsnListOutput.cxx
RESONANCES/AliRsnLoop.cxx
RESONANCES/AliRsnLoopDaughter.cxx
RESONANCES/AliRsnLoopPair.cxx
RESONANCES/AliRsnLoopEvent.cxx
RESONANCES/AliRsnLoopEff.cxx
RESONANCES/AliRsnLoopEffPair.cxx
RESONANCES/AliRsnDaughterSelector.cxx
RESONANCES/AliRsnInputHandler.cxx
RESONANCES/AliRsnAnalysisTask.cxx
)

# fill list of header files from list of source files
# by exchanging the file extension
String(REPLACE ".cxx" ".h" HDRS "${SRCS}")

AddLibrary(PWG2resonances "${SRCS}" "${HDRS}")
